package dao;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * GameTab entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "game_tab", catalog = "leko")
public class GameTab implements java.io.Serializable {

	// Fields

	private Integer gameId;
	private String gameName;
	private String desc;
	private String icon;
	private String index;
	private String picBig;
	private String partyTitle;
	private String version;
	private String picDir;
	private String bbsIndex;
	private String downloadUrl;

	// Constructors

	/** default constructor */
	public GameTab() {
	}

	/** full constructor */
	public GameTab(String gameName, String desc, String icon, String index,
			String picBig, String partyTitle, String version, String picDir,
			String bbsIndex, String downloadUrl) {
		this.gameName = gameName;
		this.desc = desc;
		this.icon = icon;
		this.index = index;
		this.picBig = picBig;
		this.partyTitle = partyTitle;
		this.version = version;
		this.picDir = picDir;
		this.bbsIndex = bbsIndex;
		this.downloadUrl = downloadUrl;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "game_id", unique = true, nullable = false)
	public Integer getGameId() {
		return this.gameId;
	}

	public void setGameId(Integer gameId) {
		this.gameId = gameId;
	}

	@Column(name = "game_name")
	public String getGameName() {
		return this.gameName;
	}

	public void setGameName(String gameName) {
		this.gameName = gameName;
	}

	@Column(name = "desc")
	public String getDesc() {
		return this.desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	@Column(name = "icon")
	public String getIcon() {
		return this.icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	@Column(name = "index", length = 50)
	public String getIndex() {
		return this.index;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	@Column(name = "picBig", length = 50)
	public String getPicBig() {
		return this.picBig;
	}

	public void setPicBig(String picBig) {
		this.picBig = picBig;
	}

	@Column(name = "partyTitle", length = 50)
	public String getPartyTitle() {
		return this.partyTitle;
	}

	public void setPartyTitle(String partyTitle) {
		this.partyTitle = partyTitle;
	}

	@Column(name = "version", length = 5)
	public String getVersion() {
		return this.version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	@Column(name = "picDir", length = 50)
	public String getPicDir() {
		return this.picDir;
	}

	public void setPicDir(String picDir) {
		this.picDir = picDir;
	}

	@Column(name = "bbsIndex", length = 50)
	public String getBbsIndex() {
		return this.bbsIndex;
	}

	public void setBbsIndex(String bbsIndex) {
		this.bbsIndex = bbsIndex;
	}

	@Column(name = "downloadUrl", length = 50)
	public String getDownloadUrl() {
		return this.downloadUrl;
	}

	public void setDownloadUrl(String downloadUrl) {
		this.downloadUrl = downloadUrl;
	}

}